<div class="row">
	<div class="alert-box secondary" style="padding:2px 2px;">
		<h5>Filtered: Students with balance</h5>
		<div class="pagination  pagination-mini  pagination-centered">
		  <ul>
		    <?foreach($a_z as $v):?>
		    	<li><a href="<?=site_url('search/balance/'.$v);?>"  class="<?=$active==$v?'btn btn-inverse btn-mini':'';?>">
		    		<strong><?=strtoupper($v);?></strong></a>
		    	</li>
		    <?endforeach;?>
		  </ul>
		</div>
	</div>


		<?if(!empty($students)):?>
			<table class="table table-striped table-hover">
			<thead class="tabular-head">
			<tr>
            	<th>IDNO</th>
				<th>Student Name</th>
				<th>Grade Level</th>
				<th>Room Assignment</th>
				<th>&nbsp;</th>
			</tr>
			</thead>
			<tbody class="tabular">
			<?foreach($students as $student):?>
				<tr>
                	<td><?=$student->e_student_id?></td>
					<td><?=ucwords($student->fullname);?></td>
					<td><?=$student->level_desc;?></td>
					<td></td>
					<td>
						<ul>
							<?=$student_link($student->enrollment_id);?>
							<?=$delete_link($student->enrollment_id);?>
							<?=$finance_link($student->enrollment_id);?>
						</ul>
					</td>
				</tr>
			<?endforeach;?>
			</tbody>
			</table>
		<?else:?>
			<div class="alert-box">
			<i class="icon-exclamation-sign icon-white"></i> Nothing found!
		</div>
		<?endif;?>
<?=$links;?>
</div>
